<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
	language="java"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<div class="menu">
	<div class="menu-left">
		<ul>
			<li><a href="homepage">Trang Chủ</a></li>
			<li><a href="about">Giới Thiệu</a></li>
			<li><a href="contact">Liên Hệ</a></li>
		</ul>
	</div>
	<s:if test="#session.user != null">
		<div class="menu-right">
			<ul>
				<li><a href="userProfile">Hi <s:property
							value="#session.user.person.name" />,
				</a></li>
				<s:if test="#session.user.role.id == 1">
					<li><a href="mailbox">Hộp thư</a></li>
				</s:if>
				<li><a href="logout">Thoát</a></li>
			</ul>
		</div>
	</s:if>
	<s:else>
		<form id="dang_nhap" action="login" method="post">
			<fieldset>
				<input class="dang_nhap" type="text" placeholder="tên đăng nhập"
					name="username" id="username" required="required" /> <input
					class="dang_nhap" type="password" placeholder="mật khẩu"
					name="password" id="password" required="required" /> <input
					type="submit" value="Đăng nhập" />
			</fieldset>
		</form>
	</s:else>
</div>

<div id="banner">
	<a href="#"></a>

</div> 
<div class="search">
	<form action="searchSoccerField" method="post"
		style="float: right; display: block;" id>
		<input type="text" title="Nhập tên sân, khung giờ"
			placeholder="Nhập tên sân, khung giờ" id="keyword"
			name="keyword"> <input type="submit" value="Tìm kiếm" />
	</form>
</div>